package com.kayt.cyberBar.cuser.business.entity.po;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import org.codehaus.jackson.annotate.JsonBackReference;

/**
 * BUserPicture entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "b_user_picture")
public class BUserPicture implements java.io.Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 726996732071361748L;
	// Fields

	private Long id;
	private String pcitureCode;
	private String userCode;
	private String picutreUrl;
	private String createTime;
	private String updateTime;
	private String statusCode;
	
	// Constructors

	/** default constructor */
	public BUserPicture() {
	}

	/** full constructor */
	public BUserPicture( String pcitureCode, String picutreUrl,
			String createTime, String updateTime, String statusCode) {
		this.pcitureCode = pcitureCode;
		this.picutreUrl = picutreUrl;
		this.createTime = createTime;
		this.updateTime = updateTime;
		this.statusCode = statusCode;
	}

	// Property accessors
	@Id
	@GeneratedValue
	@Column(name = "ID", unique = true, nullable = false)
	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	@Column(name = "PCITURE_CODE", length = 64)
	public String getPcitureCode() {
		return this.pcitureCode;
	}

	public void setPcitureCode(String pcitureCode) {
		this.pcitureCode = pcitureCode;
	}

	@Column(name = "PICUTRE_URL", length = 1024)
	public String getPicutreUrl() {
		return this.picutreUrl;
	}

	public void setPicutreUrl(String picutreUrl) {
		this.picutreUrl = picutreUrl;
	}

	@Column(name = "CREATE_TIME", length = 64)
	public String getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	@Column(name = "UPDATE_TIME", length = 64)
	public String getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(String updateTime) {
		this.updateTime = updateTime;
	}

	@Column(name = "STATUS_CODE", length = 64)
	public String getStatusCode() {
		return this.statusCode;
	}

	public void setStatusCode(String statusCode) {
		this.statusCode = statusCode;
	}

	@Column(name = "USER_CODE", length = 64)
	public String getUserCode() {
		return userCode;
	}

	public void setUserCode(String userCode) {
		this.userCode = userCode;
	}
}